package com.thjk.bdf.common.utils;

import java.text.SimpleDateFormat;
import java.util.Date;

public class Constants {
	
	//不准入类型
    public final static String REFUSE_TONGHUA = "1";//通华不准入
    public final static String REFUSE_CREDIT = "2";//征信不准入
    public final static String REFUSE_BANK = "3";//银行不准入
    
public static String CODE_SUCC = "000000"; //处理成功
	
    public static String CODE_FAIL = "000002"; //处理失败
    
    public static String CODE_UNKNOW = "999999"; //处理失败
    
    public static String CODE_TO_ACCOUNT = "100001"; //24小时人脸核身通过时跳转登录流程
    
    public static String CODE_TO_BIND_CARD = "100002"; //24小时人脸核身未通过时跳转银行卡实名认证
    
    public static String PASS = "Y"; //校验通过
    
    public static String FACE_FLAG = "1"; //人脸核身正常标记
    
    public static SimpleDateFormat sdf1 = new SimpleDateFormat("yyyyMMdd");//日期格式
    
    public static SimpleDateFormat sdf2 = new SimpleDateFormat("yyyyMMddHHmmss");//日期格式
    
    public static String RESULT_SUCCESS_CODE = "AC-00000000";//服务处理成功
    
	public static String CREATE_UID = "System"; //行为日志录入人
    
    public static long CREATE_TIME = System.currentTimeMillis(); //行为日志录入时间
    
    public static String CUR_DATE = new SimpleDateFormat("yyyyMMdd").format(new Date()); //行为日志日期
    
    public static String RET_CODE_SUCCESS = "000000"; //自由资金接口返回码 000000-交易成功
    
    public static String TRAN_DATE = new SimpleDateFormat("yyyyMMddHHmmss").format(new Date()); //交易日期
    
    public static String BASERISK_PASS = "0"; //通用-校验通过
    
	public static String BASERISK_REFUSE = "1"; //通用-校验不通过
	
	public static String BASERISK_FAILED = "2"; //通用-校验异常
	
	//神策
    public final static String PRODUCT_NAME = "好老板-万业兴";
    public final static String CHANNEL_NAME = "金科服务号";
    public final static String PLATFORM_TYPE = "金科统一账号";
    
    //事件
    public final static String 	JK_UNI_BROWSE_PRODUCT_DETAILS = "jk_uni_browse_product_details";//浏览产品详情页
    public final static String 	JK_UNI_PRODCUT_APPLY = "jk_uni_product_apply";//贷款申请按钮
    public final static String 	JK_UNI_lOGIN = "jk_uni_login";//注册登录流程
    public final static String 	JK_UNI_OCR = "jk_uni_OCR";//身份证认证流程
    public final static String 	JK_UNI_BANK_NO_CHECK = "jk_uni_bank_no_check";//银行卡四要素认证流程
    public final static String 	JK_UNI_FACE_RECOGNITION = "jk_uni_face_recognition";//人脸核身流程
    public final static String 	JK_UNI_LOAN_INTENTION_COLLECT = "jk_uni_loan_intention_collect";//贷款意向收集
    public final static String 	JK_UNI_FILL_BASIC_INFO = "jk_uni_fill_basic_info";//基本情况填写
    public final static String 	JK_UNI_FILL_APPLY_INFO = "jk_uni_fill_apply_info";//申请资料填写
    public final static String 	JK_UNI_PERSONAL_CREDIT = "jk_uni_personal_credit";//获取人行征信
    public final static String 	JK_UNI_GRANT_RESULT = "jk_uni_grant_result";//授信结果
    public final static String 	JK_UNI_FILL_ADDITIONAL_INFO = "jk_uni_fill_additional_info";//完善补充资料
    public final static String 	JK_UNI_USE_APPLY = "jk_uni_use_apply";//用款申请
    public final static String 	JK_UNI_BIND_LOANCARD = "jk_uni_bind_loancard";//绑定贷款卡流程
    public final static String 	JK_UNI_USE_SIGN = "jk_uni_use_sign";//用款签约流程
    public final static String 	JK_UNI_PAYBACK = "jk_uni_payback";//还款流程
    
    public final static String 	PRODUCT_CODE_SJD = "100006";
    
    //贷款用途
  	public final static String 	PURPOSE_DS_XFDK = "DS_XFDK"; //个人-消费贷款 个人-消费贷款;
  	public final static String 	PURPOSE_DS_JYDK = "DS_JYDK"; //个人-经营性贷款 个人-经营性贷款;
  	public final static String 	PURPOSE_DS_QTDK= "DS_QTDK"; //个人-其他贷款 个人-其他贷款;

}
